systemd.network.networks.<name>.routes

A list of route sections to be added to the unit. See systemd.network(5) for details.

Type
list of attribute set of (systemd option)
Default
[ ]
Example
[
  {
    Gateway = "192.168.0.1";
  }
]
Declared
<nixpkgs/nixos/modules/system/boot/networkd.nix>